pushd ..\releases\v%1\source

rem Activities/DashboardAdapter
del NuGet\Wolfpack.Contrib.DashboardAdapter\lib\net45\delete.me
copy Activities\Wolfpack.Contrib.DashboardAdapter\bin\debug\Wolfpack.Contrib.DashboardAdapter.dll NuGet\Wolfpack.Contrib.DashboardAdapter\lib\net45
copy Activities\Wolfpack.Contrib.DashboardAdapter\bin\debug\Wolfpack.Contrib.DashboardAdapter.pdb NuGet\Wolfpack.Contrib.DashboardAdapter\lib\net45
copy Activities\Wolfpack.Contrib.DashboardAdapter\bin\debug\DotLiquid.dll NuGet\Wolfpack.Contrib.DashboardAdapter\lib\net45

rem Activities/DashboardAdapter.Periscope
del NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\lib\net45\delete.me
copy Activities\Wolfpack.Contrib.DashboardAdapter.Periscope\bin\debug\Wolfpack.Contrib.DashboardAdapter.Periscope.dll NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\lib\net45
copy Activities\Wolfpack.Contrib.DashboardAdapter.Periscope\bin\debug\Wolfpack.Contrib.DashboardAdapter.Periscope.pdb NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\lib\net45
copy Activities\Wolfpack.Contrib.DashboardAdapter.Periscope\bin\debug\Wolfpack.Contrib.DashboardAdapter.dll NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\lib\net45
copy Activities\Wolfpack.Contrib.DashboardAdapter.Periscope\bin\debug\Wolfpack.Contrib.DashboardAdapter.pdb NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\lib\net45
copy Activities\Wolfpack.Contrib.DashboardAdapter.Periscope\bin\debug\DotLiquid.dll NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\lib\net45
del NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\Content\config\dashboardadapter\sample_periscope_templates\delete.me
xcopy Activities\Wolfpack.Contrib.DashboardAdapter.Periscope\Templates\*.* NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\Content\config\dashboardadapter\sample_periscope_templates /Y /R /I /E


rem BuildAnalytics
del NuGet\Wolfpack.Contrib.BuildAnalytics\lib\net45\delete.me
copy Wolfpack.Contrib.BuildAnalytics\bin\debug\Wolfpack.Contrib.BuildAnalytics.dll NuGet\Wolfpack.Contrib.BuildAnalytics\lib\net45
copy Wolfpack.Contrib.BuildAnalytics\bin\debug\Wolfpack.Contrib.BuildAnalytics.pdb NuGet\Wolfpack.Contrib.BuildAnalytics\lib\net45
copy Wolfpack.Contrib.BuildAnalytics\bin\debug\Sharp2City.dll NuGet\Wolfpack.Contrib.BuildAnalytics\lib\net45
copy Wolfpack.Contrib.BuildAnalytics\bin\debug\Sharp2City.pdb NuGet\Wolfpack.Contrib.BuildAnalytics\lib\net45


rem Deployment
del NuGet\Wolfpack.Contrib.Deployment\lib\net45\delete.me
copy Wolfpack.Contrib.Deployment\bin\debug\Wolfpack.Contrib.Deployment.dll NuGet\Wolfpack.Contrib.Deployment\lib\net45
copy Wolfpack.Contrib.Deployment\bin\debug\Wolfpack.Contrib.Deployment.pdb NuGet\Wolfpack.Contrib.Deployment\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.NuGet\bin\debug\Wolfpack.Contrib.Checks.NuGet.dll NuGet\Wolfpack.Contrib.Deployment\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.NuGet\bin\debug\Wolfpack.Contrib.Checks.NuGet.pdb NuGet\Wolfpack.Contrib.Deployment\lib\net45
copy Wolfpack.Contrib.Deployment\readme.txt NuGet\Wolfpack.Contrib.Deployment\readme.txt


rem Demo
del NuGet\Wolfpack.Contrib.Demo\lib\net45\delete.me
copy Wolfpack.Contrib.Demo\bin\debug\nunit.framework.dll NuGet\Wolfpack.Contrib.Demo\lib\net45
copy Wolfpack.Contrib.Demo\bin\debug\Wolfpack.Contrib.Demo.dll NuGet\Wolfpack.Contrib.Demo\lib\net45


rem Checks/Fake
del NuGet\Wolfpack.Contrib.Checks.Fake\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.Fake\bin\debug\Wolfpack.Contrib.Checks.Fake.dll NuGet\Wolfpack.Contrib.Checks.Fake\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Fake\bin\debug\Wolfpack.Contrib.Checks.Fake.pdb NuGet\Wolfpack.Contrib.Checks.Fake\lib\net45


rem Checks/Smtp
del NuGet\Wolfpack.Contrib.Checks.Smtp\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.Smtp\bin\debug\Wolfpack.Contrib.Checks.Smtp.dll NuGet\Wolfpack.Contrib.Checks.Smtp\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Smtp\bin\debug\Wolfpack.Contrib.Checks.Smtp.pdb NuGet\Wolfpack.Contrib.Checks.Smtp\lib\net45


rem Checks/NuGet
del NuGet\Wolfpack.Contrib.Checks.NuGet\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.NuGet\bin\debug\Wolfpack.Contrib.Checks.NuGet.dll NuGet\Wolfpack.Contrib.Checks.NuGet\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.NuGet\bin\debug\Wolfpack.Contrib.Checks.NuGet.pdb NuGet\Wolfpack.Contrib.Checks.NuGet\lib\net45


rem Checks/NServiceBusPerformanceCounters
del NuGet\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters\bin\debug\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters.dll NuGet\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters\bin\debug\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters.pdb NuGet\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters\lib\net45


rem Checks/Powershell
del NuGet\Wolfpack.Contrib.Checks.Powershell\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.Powershell\bin\debug\Wolfpack.Contrib.Checks.Powershell.dll NuGet\Wolfpack.Contrib.Checks.Powershell\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Powershell\bin\debug\Wolfpack.Contrib.Checks.Powershell.pdb NuGet\Wolfpack.Contrib.Checks.Powershell\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Powershell.Scripting\bin\debug\Wolfpack.Contrib.Checks.Powershell.Scripting.dll NuGet\Wolfpack.Contrib.Checks.Powershell\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Powershell.Scripting\bin\debug\Wolfpack.Contrib.Checks.Powershell.Scripting.pdb NuGet\Wolfpack.Contrib.Checks.Powershell\lib\net45
del NuGet\Wolfpack.Contrib.Checks.Powershell\Content\Powershell\delete.me
xcopy HealthChecks\Wolfpack.Contrib.Checks.Powershell\Scripts\*.* NuGet\Wolfpack.Contrib.Checks.Powershell\Content\Powershell /Y /R /I /E


rem Checks/Ssl
del NuGet\Wolfpack.Contrib.Checks.Ssl\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.Ssl\bin\debug\Wolfpack.Contrib.Checks.Ssl.dll NuGet\Wolfpack.Contrib.Checks.Ssl\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Ssl\bin\debug\Wolfpack.Contrib.Checks.Ssl.pdb NuGet\Wolfpack.Contrib.Checks.Ssl\lib\net45

rem Checks/MongoDb
del NuGet\Wolfpack.Contrib.Checks.MongoDb\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.MongoDb\bin\debug\Wolfpack.Contrib.Checks.MongoDb.dll NuGet\Wolfpack.Contrib.Checks.MongoDb\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.MongoDb\bin\debug\Wolfpack.Contrib.Checks.MongoDb.pdb NuGet\Wolfpack.Contrib.Checks.MongoDb\lib\net45

rem Checks/Registry
del NuGet\Wolfpack.Contrib.Checks.Registry\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.Registry\bin\debug\Wolfpack.Contrib.Checks.Registry.dll NuGet\Wolfpack.Contrib.Checks.Registry\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.Registry\bin\debug\Wolfpack.Contrib.Checks.Registry.pdb NuGet\Wolfpack.Contrib.Checks.Registry\lib\net45

rem Checks/RabbitMQ
del NuGet\Wolfpack.Contrib.Checks.RabbitMQ\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.Checks.RabbitMQ\bin\debug\Wolfpack.Contrib.Checks.RabbitMQ.dll NuGet\Wolfpack.Contrib.Checks.RabbitMQ\lib\net45
copy HealthChecks\Wolfpack.Contrib.Checks.RabbitMQ\bin\debug\Wolfpack.Contrib.Checks.RabbitMQ.pdb NuGet\Wolfpack.Contrib.Checks.RabbitMQ\lib\net45

rem Checks/LogParser
del NuGet\Wolfpack.Contrib.LogParser\lib\net45\delete.me
copy HealthChecks\Wolfpack.Contrib.LogParser\bin\debug\Wolfpack.Contrib.LogParser.dll NuGet\Wolfpack.Contrib.LogParser\lib\net45
copy HealthChecks\Wolfpack.Contrib.LogParser\bin\debug\Wolfpack.Contrib.LogParser.pdb NuGet\Wolfpack.Contrib.LogParser\lib\net45



REM PUBLISHERS ===============================================================>

rem Publishers/Growl
del NuGet\Wolfpack.Contrib.Publishers.Growl\content\Growl\delete.me
del NuGet\Wolfpack.Contrib.Publishers.Growl\content\Config\delete.me
del NuGet\Wolfpack.Contrib.Publishers.Growl\lib\net45\delete.me
copy Publishers\Wolfpack.Contrib.Publishers.Growl\bin\debug\Wolfpack.Contrib.Publishers.Growl.dll NuGet\Wolfpack.Contrib.Publishers.Growl\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.Growl\bin\debug\Wolfpack.Contrib.Publishers.Growl.pdb NuGet\Wolfpack.Contrib.Publishers.Growl\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.Growl\bin\debug\growl.castle.config NuGet\Wolfpack.Contrib.Publishers.Growl\content\config
copy Publishers\Wolfpack.Contrib.Publishers.Growl\bin\debug\growl\agent.png NuGet\Wolfpack.Contrib.Publishers.Growl\content\growl
copy Publishers\Wolfpack.Contrib.Publishers.Growl\bin\debug\growl\license.txt NuGet\Wolfpack.Contrib.Publishers.Growl\content\growl


rem Publishers/HipChat
del NuGet\Wolfpack.Contrib.Publishers.HipChat\lib\net45\delete.me
copy Publishers\Wolfpack.Contrib.Publishers.HipChat\bin\debug\Wolfpack.Contrib.Publishers.HipChat.dll NuGet\Wolfpack.Contrib.Publishers.HipChat\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.HipChat\bin\debug\Wolfpack.Contrib.Publishers.HipChat.pdb NuGet\Wolfpack.Contrib.Publishers.HipChat\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.HipChat\bin\debug\HipChat.Net.dll NuGet\Wolfpack.Contrib.Publishers.HipChat\lib\net45


rem Publishers/Email
del NuGet\Wolfpack.Contrib.Publishers.Email\lib\net45\delete.me
copy Publishers\Wolfpack.Contrib.Publishers.Email\bin\debug\Wolfpack.Contrib.Publishers.Email.dll NuGet\Wolfpack.Contrib.Publishers.Email\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.Email\bin\debug\Wolfpack.Contrib.Publishers.Email.pdb NuGet\Wolfpack.Contrib.Publishers.Email\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.Email\bin\debug\SourceCodeFormatter.dll NuGet\Wolfpack.Contrib.Publishers.Email\lib\net45
del NuGet\Wolfpack.Contrib.Publishers.Email\Content\EmailPublisherTemplates\images\delete.me
xcopy Publishers\Wolfpack.Contrib.Publishers.Email\EmailPublisherTemplates\*.* NuGet\Wolfpack.Contrib.Publishers.Email\Content\EmailPublisherTemplates /Y /R /I /E


rem Publishers/MongoDb
del NuGet\Wolfpack.Contrib.Publishers.MongoDb\lib\net45\delete.me
copy Publishers\Wolfpack.Contrib.Publishers.MongoDb\bin\debug\Wolfpack.Contrib.Publishers.MongoDb.dll NuGet\Wolfpack.Contrib.Publishers.MongoDb\lib\net45
copy Publishers\Wolfpack.Contrib.Publishers.MongoDb\bin\debug\Wolfpack.Contrib.Publishers.MongoDb.pdb NuGet\Wolfpack.Contrib.Publishers.MongoDb\lib\net45


popd
pushd ..\
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.DashboardAdapter\Wolfpack.Contrib.DashboardAdapter.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.DashboardAdapter.Periscope\Wolfpack.Contrib.DashboardAdapter.Periscope.nuspec -version %1%2 -OutputDirectory Releases\v%1 

Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.BuildAnalytics\Wolfpack.Contrib.BuildAnalytics.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Deployment\Wolfpack.Contrib.Deployment.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Demo\Wolfpack.Contrib.Demo.nuspec -version %1%2 -OutputDirectory Releases\v%1 

Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.Fake\Wolfpack.Contrib.Checks.Fake.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.Smtp\Wolfpack.Contrib.Checks.Smtp.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.NuGet\Wolfpack.Contrib.Checks.NuGet.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters\Wolfpack.Contrib.Checks.NServiceBusPerformanceCounters.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.Powershell\Wolfpack.Contrib.Checks.Powershell.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.Ssl\Wolfpack.Contrib.Checks.Ssl.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.MongoDb\Wolfpack.Contrib.Checks.MongoDb.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.Registry\Wolfpack.Contrib.Checks.Registry.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Checks.RabbitMQ\Wolfpack.Contrib.Checks.RabbitMQ.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.LogParser\Wolfpack.Contrib.LogParser.nuspec -version %1%2 -OutputDirectory Releases\v%1 

Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Publishers.Growl\Wolfpack.Contrib.Publishers.Growl.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Publishers.HipChat\Wolfpack.Contrib.Publishers.HipChat.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Publishers.Email\Wolfpack.Contrib.Publishers.Email.nuspec -version %1%2 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\Wolfpack.Contrib.Publishers.MongoDb\Wolfpack.Contrib.Publishers.MongoDb.nuspec -version %1%2 -OutputDirectory Releases\v%1 
popd

